/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package pers.sakurasora.lesson.dto;

import java.util.List;
import pers.sakurasora.lesson.entity.BizOrder;
import pers.sakurasora.lesson.entity.BizOrderDetail;
import pers.sakurasora.lesson.entity.SysUser;

/**
 * @author SakuraSora
 * @Email 1468071675@qq.com
 * @DateTime 2018-11-5 9:11:17
 *
 * @Description
 *              DTO(数据传输对象)--订单
 */
public class OrderDto {
    private SysUser user; //用户
    private BizOrder order; //订单
    private List<BizOrderDetail> orderDetail; //订单明细

    public SysUser getUser() {
        return user;
    }

    public void setUser(SysUser user) {
        this.user = user;
    }

    public BizOrder getOrder() {
        return order;
    }

    public void setOrder(BizOrder order) {
        this.order = order;
    }

    public List<BizOrderDetail> getOrderDetail() {
        return orderDetail;
    }

    public void setOrderDetail(List<BizOrderDetail> orderDetail) {
        this.orderDetail = orderDetail;
    }
    
}
